package com.cy.sd.service;

import org.apache.dubbo.config.annotation.Reference;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;

@Service
public class ConsumerService {
    @Reference
    PaymentService paymentService;

    public String doPay(String account, BigDecimal money){
        return paymentService.doPay(account,money);
    }
}
